package com.ev.hr.dao;

import com.ev.hr.domain.SalaryFormulaMainDO;

import java.util.List;
import java.util.Map;

import com.ev.hr.vo.SalaryFormulaMainPageParam;
import com.ev.hr.vo.SalaryFormulaVO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 计算公式方案主表
 * @author ev-monitor
 * @email 286600136@qq.com
 * @date 2020-05-06 10:32:23
 */
@Mapper
public interface SalaryFormulaMainDao {

	SalaryFormulaMainDO get(Long id);
	
	List<SalaryFormulaMainDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(SalaryFormulaMainDO salaryFormulaMain);
	
	int update(SalaryFormulaMainDO salaryFormulaMain);

	int updateAll(SalaryFormulaMainDO salaryFormulaMain);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	int batchUpdate(List<SalaryFormulaMainDO> param);

    int checkRepeat(SalaryFormulaVO saveParam);

    List<Map<String, Object>> pageList(SalaryFormulaMainPageParam pageParam);

	int pageCount(SalaryFormulaMainPageParam pageParam);
}
